package com.itqf.pwd;

import org.apache.shiro.crypto.hash.Md5Hash;

/**
 * projectName: rbacgp8
 *
 * @author: 赵伟风
 * time: 2021/8/13 16:37
 * description:
 */
public class CreatePwd {

    public static void main(String[] args) {


        String password = "123";

        String salt = "erdaye";

        int num = 6;

        String md5 = new Md5Hash(password, salt,num).toString();

        System.out.println("md5 = " + md5);


    }
}
